package com.retail.common.domain.response.pms;


import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品属性
 * @TableName pms_attr
 */
@TableName(value ="pms_attr")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PmsAttr implements Serializable {
    /**
     * 属性id
     */
    @TableId
    private Long id;

    /**
     * 属性名
     */
    private String name;

    /**
     * 可选值列表[用逗号分隔]
     */
    private String valueSelect;

    /**
     * 启用状态[0 - 禁用，1 - 启用]
     */
    private Long enable;

    /**
     * 所属分类
     */
    private Long categoryId;

    /**
     * 规格分组id
     */
    private Long groupId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
